import {
  RECIECE_LIST,
  RECIEVE_EXAM,
  RECIECE_SCORE,
  RECIEVE_OPENID
} from './mutaion-type'

export default {
  [RECIECE_LIST] (state, listData) {
    state.examList = listData
    // console.log(state.examList)
  },
  [RECIEVE_EXAM] (state, exam) {
    state.exam = exam
    // console.log(state.exam)
  },
  [RECIECE_SCORE] (state, score) {
    state.score = score
  },
  [RECIEVE_OPENID] (state, openId) {
    state.openId = openId
  }
}
